home *** CD-ROM | disk | FTP | other *** search
- // STreeField.h: Schnittstelle fⁿr die Klasse STreeField.
- //
- //////////////////////////////////////////////////////////////////////
-
- #if !defined(AFX_STREEFIELD_H__1DAB0564_2654_4BD6_B83E_75A5891E2E9F__INCLUDED_)
- #define AFX_STREEFIELD_H__1DAB0564_2654_4BD6_B83E_75A5891E2E9F__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
-
- #include "STree.h"
- #include "SSoundSystem.h"
-
- #define NUM_TREES 32
-
- class STreeField
- {
- public:
- int treesLeft();
- bool isDone();
- void release(float x, float y);
- void move(float x, float y);
- bool click(float x, float y);
- void update(float frametime);
- void create(STexture* baum, STexture* stamm,SSoundSystem* sound);
- STreeField();
- virtual ~STreeField();
- protected:
- STree trees[NUM_TREES];
- int dragging;
- bool matrix[MATRIX_SIZE][MATRIX_SIZE];
- SSoundSystem* soundSystem;
- int lastPos[2];
-
- };
-
- #endif // !defined(AFX_STREEFIELD_H__1DAB0564_2654_4BD6_B83E_75A5891E2E9F__INCLUDED_)
-